/*
 * To change this template, choose Tools | Templates
 * and open the template in the editor.
 */

package gnupostgressqldesigner.window;

import gnupostgressqldesigner.designepattern.*;
/**
 *
 * @author juliano
 */
public class WindowView  extends javax.swing.JFrame
{
    public WindowView(Window controller)
    {
        //super(controller);
        open();
        setVisible(true);
    }


    protected void open()
    {

       setDefaultCloseOperation(javax.swing.WindowConstants.EXIT_ON_CLOSE);
       setName("Form"); // NOI18N

        javax.swing.GroupLayout layout = new javax.swing.GroupLayout(getContentPane());
        getContentPane().setLayout(layout);
        layout.setHorizontalGroup(layout.createParallelGroup(javax.swing.GroupLayout.Alignment.LEADING).addGap(0, 800, Short.MAX_VALUE));
        layout.setVerticalGroup(layout.createParallelGroup(javax.swing.GroupLayout.Alignment.LEADING).addGap(0, 600, Short.MAX_VALUE));

        pack();
    }// </editor-fold>
}
